/*
 * util.h
 *
 * Copyright (C) 1999, Ben Swartzlander
 * This file is part of Q2BotCore.
 * For conditions of distribution and use,
 * see the accompanying README file.
 */

#ifndef __UTIL_H
#define __UTIL_H

#include <windows.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <assert.h>
#include "q2bot.h"

#define PI 3.141592

#define WIN32_LEAN_AND_MEAN

void setPrintFuncs(PRINTFUNC,PRINTFUNC);
void setPrintFunc3(PRINTFUNC);
void print(char *,...);
void printe(char *,...);
void printu(char *,...);

unsigned checksum(unsigned char *,int,int);
void hexdump(unsigned char *,int);

#endif